home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
AMICUS
/
AMICUS04.ADF
/
image.ed
/
imageedit.h
< prev
next >
Wrap
C/C++ Source or Header
|
1985-10-26
|
1KB
|
44 lines
/************* imageedit.h ***************/
#include <exec/types.h>
#define DEPTH 4 /* temporary limit only */
#define EDITLEFT 4
#define EDITRIGHT 324 /* half a screen, means 80 pixels wide max */
#define EDITTOP 12
#define EDITBOTTOM 180 /* maximum 42 pixels tall for current rev. */
#define MAXVIEWS 9
#define BOBDEPTH 4
#define FRAMEWIDTH 80
#define FRAMEHEIGHT 42
#define getc() Read(stdin, c, 2)
#define TXHEIGHT 8
struct frame {
SHORT xmin, ymin;
SHORT xmax, ymax;
struct BitMap bitmap;
};
#define qr(r,rl,rh) ((r >= rl && r <= rh) ? 1 : 0 )
/* starting gadget number for gadget id's */
#define MOVEGADGETS 0x0 /* move within frame */
#define COLORGADGETS 0x10 /* for changing up to 32 colors */
/* also includes proportional gadgets, and
* boolean in the system colors requester */
#define TEXTCOLORGADGETS 0x30 /* for text primary color (up to 32) */
#define TEXTWRITEGADGETS 0x50 /* string, prop, and three boolean */
#define DISKRWGADGETS 0x60 /* string, bool, some error handling */
#define SCROLLGADGETS 0x68
#define RECONFIGGADGETS 0x70
#define HELPGADGETS 0x90
#define EXITGADGETS 0x98